/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.PLK.Config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.zaahir.assignment2.PLK.Impl.Course;
import za.ac.cput.zaahir.assignment2.PLK.Impl.Subject;
import za.ac.cput.zaahir.assignment2.PLK.Impl.University;

/**
 *
 * @author Zaahir
 */ 
@Configurable
public class AppConfig {
@Bean 
public Course c()
{
    return new Course();
} 
@Bean 
public Subject s()
{
    return new Subject();
} 
@Bean 
public University u()
{
    return new University();
}

}
